package com.device.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.device.domain.dto.CabinetTypeAddUpdateDto;
import com.device.domain.dto.CabinetTypeDto;
import com.device.domain.entity.CabinetType;
import com.device.domain.vo.CabinetTypeVo;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
* @author sheng
* @description 针对表【cabinet_type(柜机类型表)】的数据库操作Service
* @createDate 2025-05-10 20:47:35
*/
public interface CabinetTypeService extends IService<CabinetType> {

    /**
     * 查询柜机类型列表
     *
     * @param cabinetTypeDto
     * @return
     */
    PageInfo<CabinetTypeVo> selectListOfCabinetMachineTypes(CabinetTypeDto cabinetTypeDto);

    /**
     * 柜机类型全查
     *
     * @return
     */
    List<CabinetTypeVo> allCheck();

    void refundAllCheck(CabinetTypeAddUpdateDto cabinetTypeAddUpdateDto);

    void refundUpdateCheck(CabinetTypeAddUpdateDto cabinetTypeAddUpdateDto);

    void typeDelete(List<Long> ids);

    void deletedBy(Integer id);
}
